Re: Redirect a complex URL to another one, either in
am 09.03.2010 02:24:28 von Igor Cicimov--005045016abdf940b40481540a5c
Content-Type: text/plain; charset=ISO-8859-1
This works for me tested
RewriteCond %{QUERY_STRING} ^opt=dom_cont&task=view&id=18&Itemid=28$
RewriteRule ^/index.php$
https://www.domain.com/index.php?opt=dom_cont&task=view&
[R,L]
On Tue, Mar 9, 2010 at 11:44 AM, Eric Covener
> On Mon, Mar 8, 2010 at 6:48 PM, Igor Cicimov
>
> > RewriteRule ^/index.php$
> >
> https://www.domain.com/index.php?opt=dom_cont&task=view&&id= %1-1&Itemid=%2-1
> > [R,L]
> >
>
> You probably need a RewriteMap to do that increment.
>
> --
> Eric Covener
> covener@gmail.com
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--005045016abdf940b40481540a5c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
This works for me tested
RewriteCond %{QUERY_STRING} ^opt=3Ddom_cont=
&task=3Dview&id=3D18&Itemid=3D28$
RewriteRule ^/index.php$ <=
a href=3D"https://www.domain.com/index.php?opt=3Ddom_cont& task=3Dview&a=
mp;id=3D17&Itemid=3D27" target=3D"_blank">https://www.domain.com/index.=
php?opt=3Ddom_cont&task=3Dview&id=3D17&Itemid=3D27
[R,L]
M, Eric Covener <=
covener@gmail.com> wrote:
" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, =
204); padding-left: 1ex;">
> RewriteRule ^/index.php$
>
view&&id=3D%1-1&Itemid=3D%2-1" target=3D"_blank">https://www.do=
main.com/index.php?opt=3Ddom_cont&task=3Dview&&i d=3D%1-1&It=
emid=3D%2-1
> [R,L]
>
--
Eric Covener
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g">users-unsubscribe@httpd.apache.org
=A0 " =A0 from the digest:
@httpd.apache.org">users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail:
org">users-help@httpd.apache.org
--005045016abdf940b40481540a5c--